package com.senven.books.modules.system.role.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.senven.books.modules.system.user.entity.SysRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author : longshengyi
 * @description :
 * @createDate : 2024/7/21 22:44
 */
@Mapper
public interface SysRoleMapper extends BaseMapper<SysRole> {


    public List<String> findRoleByUserId(@Param("userId") Long userId);
}
